package com.local.dao.mapers;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.local.model.LocalRota;
import com.local.model.LocalRotaExample;
import com.local.page.LocalRotaPage;
import com.qianhai.common.dao.face.BaseMapper;

public interface LocalRotaMapper extends BaseMapper<LocalRotaExample, LocalRota, String> {
	List<LocalRota> queryRotaUser(LocalRotaPage<LocalRota> page);
	
	List<LocalRota> queryRotaUserOther(LocalRotaPage<LocalRota> page);
	
	LocalRota queryLocalRotaByUserId(LocalRota rota);
	
	LocalRota findRotaByRotaName(String rotaName);
	
	LocalRota queryRotaByStationAndUser(@Param("stationUuid")String stationUuid, @Param("uuid")String uuid);
}